package com.hrrt.home.dao.mapper;

import com.hrrt.home.dao.model.HomeBaseUnit;
import com.hrrt.home.dao.model.HomeBaseUnitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeBaseUnitMapper {
    long countByExample(HomeBaseUnitExample example);

    int deleteByExample(HomeBaseUnitExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HomeBaseUnit record);

    int insertSelective(HomeBaseUnit record);

    List<HomeBaseUnit> selectByExample(HomeBaseUnitExample example);

    HomeBaseUnit selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HomeBaseUnit record, @Param("example") HomeBaseUnitExample example);

    int updateByExample(@Param("record") HomeBaseUnit record, @Param("example") HomeBaseUnitExample example);

    int updateByPrimaryKeySelective(HomeBaseUnit record);

    int updateByPrimaryKey(HomeBaseUnit record);
}